<template>
  <div>
    <h2>我是About</h2>
  </div>
</template>

<script>
export default {
  name: "About",
  // 销毁生命周期勾子
  // beforeDestroy() {
  //   console.log("About即将被销毁")
  // },
  mounted() {
    console.log("About组件挂载完毕", this)
    window.aboutRoute = this.$route
    window.aboutRouter = this.$router
  },
}
</script>

<style lang="scss" scoped></style>